<link rel="stylesheet" href="/assets/css/common.css"/>
<link rel="stylesheet" href="/assets/css/capital-manage.css"/>
<link rel="stylesheet" href="/assets/css/menu.css"/>
<link rel="stylesheet" href="/assets/css/ico-topbar-white.css"/>
<link rel="stylesheet" href="/assets/css/com/popup.css"/>
<link rel="stylesheet" href="/assets/css/bottom.css"/>


<@extends name="/project/ico-topbar-white.ftl"/>

<div class="all">
<@extends name="/project/menu.ftl"/>
<#if idcardStatus == 0>
    <p class="all-tips">实名认证后才可查看，请<a href="/verify?viewType=page">实名认证</a></p>


<#else>
    <div class="content">
        <div class="inve-title clearfix">
            <i></i>
            <h3>资产管理</h3>
        </div>
        <div class="capital-content">
            <table class="block-table">
                <thead>
                <tr>
                    <td>币种</td>
                    <td>总量</td>
                    <#--<td>锁定</td>-->
                    <td>可用余额</td>
                    <td>BTC估值</td>
                    <td>操作</td>
                </tr>
                </thead>
                <tbody class="coin">
                    <#list walletList as list>
                    <tr>
                        <td class="item">${list.coinName}</td>
                        <td class="item">${list.balance}</td>
                        <#--<td class="item"></td>-->
                        <td class="item">${list.available}</td>
                        <#if list.valuation==''>
                            <td class="item">- -</td>
                        <#else>
                            <td class="item">${list.valuation}</td>
                        </#if>

                        <td class="item option-btns">
                            <a href="javascript:void(0)" class="recharge item-btn item-btn-active" data-p="${list.coinName}"
                               data-address="${list.address}" data-id="${list.id}">充值</a>
                            <#if isLogin> 
                                <a href="javascript:void(0)" class="withdraw item-btn"
                                   data-p="${list.coinName}" data-id="${list.id}" 
                                   data-available="${list.available}"
                                   data-minbalance="${list.rateVO.minBalance}" 
                                   data-maxbalance="${list.rateVO.maxBalance}" 
                                   data-dealrate="${list.rateVO.withdrawRate}"

                                   data-login="1"
                                   data-google="${googleStatus}">提现</a>
                                 <#else> 
                                <a href="javascript:void(0)" class="withdraw item-btn"
                                   data-p="${list.coinName}"
                                   data-id="${list.id}" 
                                   data-available="${list.available}"
                                   data-minbalance="${list.rateVO.minBalance}" 
                                   data-maxbalance="${list.rateVO.maxBalance}" 
                                   data-dealrate="${list.rateVO.withdrawRate}"
                                   data-login="0"
                                   data-google="${googleStatus}">提现</a>
                            </#if>
                        </td>
                    </tr>
                    </#list>
                </tbody>
            </table>
        </div>
    </div>

</#if>
</div>
<div class="qrcode-modal">
    <div class="modal-body">
        <img src="/assets/img/ico-data/no.png" alt="" class="no">
        <div>
            <span class="coin-name"></span>
            <span>充值地址</span>
        </div>
        <div class="ewm-img">
            <img src="" alt="">
        </div>
        <div class="address"></div>
    </div>
</div>


<#--<div class="pop—up-window">-->
    <#--<div class="window-content">-->

    <#--</div>-->
<#--</div>-->

<#--<@extends name="/project/bottom.ftl"/>-->

<script src="/assets/script/jquery-1.8.2.min.js"></script>
<script src="https://cdn.bootcss.com/handlebars.js/4.0.11/handlebars.js"></script>
<script src="https://cdn.bootcss.com/seajs/3.0.2/sea.js"></script>
<script src="/assets/script/com/popup.js"></script>

<script src="/assets/script/common.js"></script>
<script src="/assets/script/session.js"></script>
<script src="/assets/script/capital-manage.js"></script>
